Skip to content

Instantly share code, notes, and snippets.

@SpaceSaver
SpaceSaver / bnh.user.js
Created June 6, 2025 23:52
Bypass Netflix Household Check
// ==UserScript==
// @name Bypass Netflix Household Check
// @namespace http://tampermonkey.net/
// @version 2025-05-27
// @description Allow Netflix household sharing
// @author SpaceSaver
// @match https://www.netflix.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=netflix.com
// @grant none
// ==/UserScript==
@zveronline
zveronline / vk-cdn-3x-ui-guide.md
Last active November 1, 2026 23:17
vk-cdn-3x-ui-guide

Шаг 1. Проверка сервера и подготовка системы

Настроим VLESS + XHTTP через VK Cloud CDN с панелью 3x-ui на зарубежном VPS. На том же сервере будут работать Nginx, сайт-заглушка и Xray. Выход в интернет будет напрямую с этого VPS.

VPN-клиент
  -> HTTPS, images-cdn.example.com:443, VK Cloud CDN
  -> HTTPS, images.example.com:443, Nginx на VPS
  -> HTTP, 127.0.0.1:9001, Xray под управлением 3x-ui
 -> Интернет
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active November 1, 2026 22:54
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system

Looking Glass B7 + GPU Passthrough on CachyOS (Hyprland/Wayland)

A complete guide to running a Windows 11 VM with GPU passthrough and Looking Glass on an Arch-based Linux system with a Wayland compositor. This setup allows you to run Windows-only software like Fusion 360 in a native-feeling window on your Linux desktop, with near-zero latency and no compression artifacts.

This guide was written from a real setup session, including every issue encountered and how it was resolved. If you're running into problems, there's a good chance the answer is in here.


System Specifications

@Lurrobert
Lurrobert / SPEC.md
Last active November 1, 2026 22:51
SPEC.md: 3Blue1Brown-style explainer videos made entirely by Claude. The explaining rules (term budget), look, voice, music recipe, mix, export, and a paste-in prompt to build your own.

SPEC.md: 3Blue1Brown-style explainer videos, made entirely by Claude

A frame from the superconductor video: the new term "critical temperature" appears in yellow beside the formula T < T_c and a thermometer

I wanted to finally understand materials science, so I had Claude make me 3Blue1Brown-style explainer videos about it. Dark canvas, formulas that write themselves on in color, a calm narrator, a soft piano score. Four videos so far (6 to 15 minutes each), a few evenings with Claude Code + Opus 5.5. I never opened a video editor.

The first version was unwatchable. It introduced 50 new terms in 7 minutes and I did not understand half of it myself. So I had Claude study how Grant Sanderson actually explains things, measure it, and turn it into rules. The rules are the part worth sharing. The rest of this file is every setting you need to rebuild the whole thing: look, voice, music, mix, export, and a prom

Ghostty Keyboard Shortcuts

Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.

Window Management

Action Windows/Linux macOS
New window Ctrl+Shift+N Cmd+N
Close window Alt+F4 Cmd+Shift+W
@Krishprajapati15
Krishprajapati15 / readme.md
Created June 9, 2025 13:45
This project demonstrates how to use the useMemo hook in React for optimizing performance in components with expensive calculations. The useMemo hook allows you to memoize the result of a computation so that it only recalculates when its dependencies change. This prevents unnecessary recalculations on every render, making your application more e…

React useMemo Hook Example

This project demonstrates how to use the useMemo hook in React to optimize expensive calculations and avoid unnecessary re-renders.

What is useMemo?

  • useMemo is a React Hook that memoizes the result of a computation, so it’s only recalculated when its dependencies change.
  • Purpose: Prevents expensive calculations from running on every render if the input hasn't changed.
  • Syntax:
@r3dm1ke
r3dm1ke / App.js
Created February 12, 2020 17:38
Example with useMemo
import React, {useState, useMemo} from 'react';
function App() {
const [length, set_length] = useState(3);
const [name, set_name] = useState('John Doe');
return (
<>
<input value={name} onChange={e => set_name(e.target.value)} />
<NameDisplay name={name}/>
@veekaybee
veekaybee / normcore-llm.md
Last active November 1, 2026 22:37
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@luigiminardim
luigiminardim / bitcoin_fee_estimatimative.md
Created October 30, 2026 15:47
How Bitcoin Core Estimates Fees

How Bitcoin Core Estimates Fees

Few things in Bitcoin are more aggravating than broadcasting a transaction, checking a block explorer forty minutes later, and seeing:

"0 Confirmations — Estimated wait: 14 hours."

Equally painful is the opposite blunder: panicking during a sudden fee surge, attaching 75 sat/vB to an ordinary payment, and watching the mempool empty out ten minutes later—realizing you just overpaid by tenfold.

Unlike traditional payment networks where fees are fixed by a corporate tollkeeper, or newer blockchains like Ethereum with an in-protocol base fee mechanism (EIP-1559), Bitcoin operates on a pure, decentralized first-price auction. Every 10 minutes or so, miners have a finite cargo container of roughly 1 to 1.5 megabytes of real estate to sell. If hundreds of people are clamoring for that space, miners don't care who you are, what your payment is for, or how long you've been waiting. They care about one thing only: feerate—the fee paid per unit of digital real estate consume